#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>S
//#define Max_Size 10

typedef int DateType;
typedef struct SeqList
{
	DateType*	L;
	DateType	size;
	DateType	capacity;
}SL;

void SeqListPrint(SL* ps);
void SeqListInit(SL *ps);
void SeqListCheckCapacity(SL* ps);
void SeqListPushBack(SL* ps, DateType x);
void SeqListPushFront(SL* ps, DateType x);
void SeqListPopBack(SL* ps);
void SeqListPopFront(SL* ps);
void SeqListInsert(SL* ps, int pos, DateType x);
void SeqListRemove(SL* ps, int pos);